package com.dhcc.bpm.modules.scf.entity.HomePage;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 实时成交排名实体类
 */
@Data
public class ScfSelRealtime implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 销售明细记录ROW_ID
     */
    private String rowId;
    /**
     * 车牌
     */
    private String truckNum;
    /**
     * 供应商
     */
    private String ownerName;
    /**
     * 供应商id
     */
    private String ownerSubNum;
    /**
     * 再生资源企业id
     */
    private String renewableSubNum;
    /**
     * 再生资源企业名称
     */
    private String renewableName;
    /**
     * 利废企业
     */
    private String recyclingName;
    /**
     * 利废企业id
     */
    private String recyclingSubNum;
    /**
     * 成交金额
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal totalSalesAmount;
    /**
     * 对应减少碳排放量
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal carbonEmissions;

    /**
     * 收货日期-->实时成交日期
     */
    private String receiveDate;

    /**
     * 入库单号（该字段用于后续查询其他表中信息）
     */
    private String warehouseEntNum;
    //数据归属组织  做数据隔离
    private String orgCode;

    private String[] orgCodes;

    //    物流轨迹状态
    private Integer trackStatus;
    //    车辆入网状态
    private Integer netStatus;


    private String truckType;

    private String nameA;
    private String nameB;

}
